﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using SharedLib.DataStructure;

namespace SharedLib.XmlDataModel
{
    public class XmlDataModelWithAttributesAndID : XmlDataModelWithAttributes , IHasID 
    {
        public string ID
        {
            get { return Attributes["id"]; }
            internal set { Attributes["id"] = value; }
        }

        public XmlDataModelWithAttributesAndID(XmlNode node)
            : base(node)
        {
        }

        public XmlDataModelWithAttributesAndID()
            : base()
        {
        }
    }
}
